package com.example.service;

import com.example.entity.Activity;

import java.util.List;

public interface ActivityService {


    public abstract List<Activity> getActivitiesByPage(int page, int pageNum);

    public abstract int getTotalPages(int pageNum);

    int getActivityCountByOrganization(int orgId);
    Activity getLatestActivity(int orgId);
    int countActivitiesByOrgId(int orgId);


    int[] getMonthlyActivityData(int orgId);
    int getTotalServiceHours(int orgId);



    Activity findLatestByOrgId(int orgId);

    List<Activity> getAllActivitiesByOrgId(int orgId);
    List<Activity> getOngoingActivitiesByOrgId(int orgId);
    List<Activity> getUpcomingActivitiesByOrgId(int orgId);
    List<Activity> getCompletedActivitiesByOrgId(int orgId);

    Activity updateActivity(Activity activity);
    void deleteActivity(int activityId);
    void addActivity(Activity activity);
    void createActivity(Activity activity);

    void saveActivity(Activity activity);
    Activity getActivityById(int activityId);




}
